'use client'

import React from 'react';
import PageRenderer from '@/components/PageRenderer';
import { usePageData } from '@/hooks/usePageData';

export default function HomeContent() {
  const { components, loading, error, refetch } = usePageData(1);

  return (
    <PageRenderer 
      components={components}
      loading={loading}
      error={error}
      onRetry={refetch}
      className="w-full"
      itemClassName="w-full"
    />
  );
}
